Skip to content

Conversation

@codecov-ai
Copy link

@codecov-ai codecov-ai bot commented Jun 6, 2025

This PR adds tests for #847

Commits:

  • Add unit tests for get_subscription_plan(monthly) function
  • Add unit tests for get_subscription_plan(annual) function

@vercel
Copy link

vercel bot commented Jun 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
empower ⬜️ Ignored (Inspect) Visit Preview Jun 6, 2025 9:03pm

@codecov
Copy link

codecov bot commented Jun 6, 2025

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
77 2 75 0
View the top 2 failed test(s) by shortest run time
test/test_utils.py::TestFunctions::test_get_subscription_plan_annual
Stack Traces | 0.001s run time
self = <src.test.test_utils.TestFunctions testMethod=test_get_subscription_plan_annual>

    def test_get_subscription_plan_annual(self):
>       result = get_subscription_plan('annual')
E       NameError: name 'get_subscription_plan' is not defined

test/test_utils.py:75: NameError
test/test_utils.py::TestFunctions::test_get_subscription_plan_monthly
Stack Traces | 0.001s run time
self = <src.test.test_utils.TestFunctions testMethod=test_get_subscription_plan_monthly>

    def test_get_subscription_plan_monthly(self):
>       result = get_subscription_plan('monthly')
E       NameError: name 'get_subscription_plan' is not defined

test/test_utils.py:71: NameError

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants